package cn.agriculture.web.form;

import cn.agriculture.common.validator.constraints.NotEmpty;
import lombok.Data;

@Data
public class DistributorForm {

	@NotEmpty(field="分销商ID",  message="{errors.required}")
	private String distributorId;
	@NotEmpty(field="密码",  message="{errors.required}")
	private String password;
	private String passwordNew;
	private String passwordConfirm;
	private String distributorName;
	private String type;
	private String level;
	private String printName;
	private String provinceId;
	private String provinceName;
	private String cityId;
	private String cityName;
	private String address;
	private String contacts;
	private String fax;
	private String telephone;
	private String mobile;
	private String email;
	private String wechat;
	private String qq;
	@NotEmpty(field="支付宝账号",  message="{errors.required}")
	private String alipay;
	private String note;
	private String updateTime;
	private String updateUser;
	private String priceIncrement;
	private String amount;
}
